﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ctrLKWSCreate.ascx.cs"
    Inherits="TCHSHue.Modules.AdminControl.LKWebSite.ctrLKWSCreate" %>
<div id="lk" class="inbox">
    <h3 class="tieude">
        <asp:Label ID="lbCreate" runat="server" Text="Thêm mới/Cập nhật"></asp:Label>
    </h3>
    <table style="width: 100%">
        <tr>
            <td colspan="2" class="line">
            </td>
        </tr>
    </table>
    <br />
    <table>
        <tr>
            <td>
                Tên hiển thị
            </td>
            <td>
                <asp:TextBox Width="700px" ID="txtTenHienThi" runat="server"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="txtTenHienThi"
                    runat="server" ErrorMessage="*" ToolTip="Bạn chưa nhập tên hiển thị Website"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Địa chỉ trang Web
            </td>
            <td>
                <asp:TextBox Width="700px" ID="txtURL" runat="server"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="txtURL"
                    runat="server" ErrorMessage="*" ToolTip="Bạn chưa nhập địa chỉ Website"></asp:RequiredFieldValidator><br />
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtURL"
                    ErrorMessage="*" ToolTip="://" ValidationExpression="http(s)?://([\w-]+\.)+[\w-]+(/[\w- ./?%&amp;=]*)?"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Button ID="bntThem" runat="server" Text="Thêm mới/Cập nhật" OnClick="bntThem_Click" />
            </td>
        </tr>
    </table>
    <br />
    <div visible="false" class="ui-widget" id="thongBao" runat="server">
        <div class="ui-state-highlight ui-corner-all" style="margin-top: 20px; padding: 0 .7em;">
            <p>
                <span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
                <asp:Label ID="lbThongBao" runat="server" Text="Thêm mới/Cập nhật thất bại"></asp:Label></p>
        </div>
    </div>
    <br />
    <asp:HyperLink ID="HyperLink1" CssClass="box back" NavigateUrl="~/Modules/Admin.aspx?mode=lkwebsite"
        runat="server">Quay lại</asp:HyperLink>
    <br />
    <br />
</div>
